/**
 * 路由的配置
 */

export default [
  {
    path: '/',
    component: '@/layouts/BasicLayout',
    routes: [
      { path: '/', component: '@/pages/Root' },

      {
        path: '/userManagement/userList',
        component: '@/pages/UserList',
      },
      {
        path: '/userManagement/memberList',
        component: '@/pages/MemberList/WorkSpaceMember',
        wrappers: ['@/components/wrappers/Authorized'],
        authority: ['APPROVAL_AUTHORITY'],
      },

      {
        path: '/userManagement/memberList/member',
        component: '@/pages/MemberList/Member',
      },

      {
        path: '/AuthorityManagement/approval',
        component: '@/pages/Approval',
        wrappers: ['@/components/wrappers/Authorized'],
        authority: ['APPROVAL_AUTHORITY'],
      },
      {
        path: '/AuthorityManagement/role',
        component: '@/pages/Role',
      },

      {
        path: '/AuthorityManagement/myRole',
        component: '@/pages/MyRole',
       
      },

      { component: '404' },
    ],
  },
];
